<template>
    <div>
        <TablePart :table="contestRankList"></TablePart>
    </div>
</template>

<script>
import TablePart from "./TablePart";
import RowExtendPart from "./RowExtendPart";
import {IViewTable} from "_i";

export default {
  name: "ContestRankPart",
  components: { TablePart,RowExtendPart },
  data() {
    return {
      contestRankList: new IViewTable(
        [
          {
            type: "rank",
            title: "排名",
            width: "20",
            key: 0
          },
          {
            type: "img",
            title: "头像",
            width: "10",
            key: 1
          },
          {
            title: "名称",
            key: 2
          },
          {
            title: "AC数",
            width: "30",
            key: 3
          },
          {
            title: "正确率",
            width: "30",
            key: 4
          },
          {
            title: "总分",
            width: "30",
            key: 5
          }
        ],
        [
          {
            0: "1",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "2",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "3",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "4",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
          {
            0: "5",
            1: "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3865525855,2169088944&fm=26&gp=0.jpg",
            2: "我是一个BUG",
            3: "10",
            4: "100%",
            5: "100"
          },
        ]
      ),
    };
  },
  methods: {},
  created(){
      console.log(RowExtendPart);
      
  }
};
</script>

<style lang="less" scoped>
</style>